package br.edu.fanor.esfinge.services.impl;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import br.edu.fanor.esfinge.entity.DadoEscolar;
import br.edu.fanor.esfinge.services.DadoEscolarServiceRemote;

@Stateless
public class DadoEscolarServiceImpl implements DadoEscolarServiceRemote{
	
	@PersistenceContext
	private EntityManager em; 

	@Override
	public DadoEscolar inserir(DadoEscolar dadoescolar) {
		em.persist(dadoescolar);
		return dadoescolar;
	}
	
	

}
